package com.celesea.framework.jwt;

/**
 * @author JackYuan
 * @create 2017-11-12 17:53
 */
public class JwtRedisUtil {
    public static final String JWT_REDIS_INFO = "sso:%s:info";
    public static final String JWT_REDIS_TIME = "sso:%s:time";

    public static String getInfoKey(String loginSessionId) {
        return String.format(JWT_REDIS_INFO, loginSessionId);
    }

    public static String getTimeKey(String loginSessionId) {
        return String.format(JWT_REDIS_TIME, loginSessionId);
    }

}
